ghc.git
6 weeks agoAllow setting path for LLC/OPT during configuration
Ilias Tsitsimpis [Sat, 24 Jan 2026 12:41:42 +0000 (14:41 +0200)]
Allow setting path for LLC/OPT during configuration

Patch configure.ac to allow us to modify the path for LLC/OPT during
configuration.

Gbp-Pq: Name allow-setting-llvm-program

6 weeks agoUse realpath instead of custom script
Ilias Tsitsimpis [Sat, 24 Jan 2026 12:41:42 +0000 (14:41 +0200)]
Use realpath instead of custom script

Use realpath instead of the custom script, which is broken. As an example,

  $ ./mk/relpath.sh /usr/lib/ghc/lib /usr/lib/ghc-doc
  ..-doc
  $ realpath --relative-to=/usr/lib/ghc/lib /usr/lib/ghc-doc
  ../../ghc-doc

Gbp-Pq: Name hadrian-relpath

6 weeks agoPass 'mathjax' to Haddock
Ilias Tsitsimpis [Sat, 24 Jan 2026 12:41:42 +0000 (14:41 +0200)]
Pass 'mathjax' to Haddock

Bug: https://gitlab.haskell.org/ghc/ghc/-/issues/23625

Hadrian currently doesn't allow us to modify Haddock options, so
patch Hadrian to manually pass the 'mathjax' option.

Gbp-Pq: Name hadrian-haddock-opts

6 weeks agouse-unbundled-sphinx-rtd-theme
Debian Haskell Group [Sat, 24 Jan 2026 12:41:42 +0000 (14:41 +0200)]
use-unbundled-sphinx-rtd-theme

===================================================================

Gbp-Pq: Name use-unbundled-sphinx-rtd-theme

6 weeks agoRemove hard-coded googleapis font URL
Debian Haskell Group [Sat, 24 Jan 2026 12:41:42 +0000 (14:41 +0200)]
Remove hard-coded googleapis font URL

Bug: https://github.com/haskell/haddock/issues/1211
Bug-Debian: https://bugs.debian.org/963690

Gbp-Pq: Name haddock-remove-googleapis-fonts

6 weeks agolocal-mathjax
Debian Haskell Group [Sat, 24 Jan 2026 12:41:42 +0000 (14:41 +0200)]
local-mathjax

===================================================================

Gbp-Pq: Name local-mathjax

6 weeks agoAdd kfreebsdgnu to GHC_CONVERT_OS in aclocal.m4
Svante Signell [Sat, 24 Jan 2026 12:41:42 +0000 (14:41 +0200)]
Add kfreebsdgnu to GHC_CONVERT_OS in aclocal.m4

Bug-Debian: https://bugs.debian.org/913140

Gbp-Pq: Name kfreebsd-aclocal.m4

6 weeks agoUse native x86_64 instructions on x32
Debian Haskell Group [Sat, 24 Jan 2026 12:41:42 +0000 (14:41 +0200)]
Use native x86_64 instructions on x32

This patch enables a few native 64-bit integer instructions
on x32 which are available on this architecture despite using
32-bit pointers. These instructions are present on x86_64 but
not on x86 and ghc checks the size of (void *) to determine
that. This method fails on x32 since despite using 32-bit
pointers and hence sizeof(void *) == 4, it still uses the
full x86_64 instruction set and software-emulated variants
of the aforementioned 64-bit integer instructions are
therefore not present in the toolchain which will make ghc
fail to build on x32.
See: https://ghc.haskell.org/trac/ghc/ticket/11571

Gbp-Pq: Name x32-use-native-x86_64-insn.patch

6 weeks agobuildpath-abi-stability
Debian Haskell Group [Sat, 24 Jan 2026 12:41:42 +0000 (14:41 +0200)]
buildpath-abi-stability

Forwarded to https://ghc.haskell.org/trac/ghc/ticket/10424

Forwarded to https://ghc.haskell.org/trac/ghc/ticket/10424

Gbp-Pq: Name buildpath-abi-stability.patch

6 weeks agoDo not emit a warning if the .haddock file is missing
Joachim Breitner [Sat, 24 Jan 2026 12:41:42 +0000 (14:41 +0200)]
Do not emit a warning if the .haddock file is missing

As it is quite common on Debian installations to install the -dev package
without the -doc package.

Gbp-Pq: Name no-missing-haddock-file-warning

6 weeks agoUse VFPv3-D16 FPU for ARM builds
Jani Monoses [Sat, 24 Jan 2026 12:41:42 +0000 (14:41 +0200)]
Use VFPv3-D16 FPU for ARM builds

Upstream-Bug: https://ghc.haskell.org/trac/ghc/ticket/5914

Jani writes: The D16 part was Debian/Ubuntu specific, IIRC we define hardfloat
in that particular variant (16 double registers) or we had a different naming
for some reason.

Gbp-Pq: Name ARM-VFPv3D16

6 weeks agoghc (9.10.3-3) unstable; urgency=medium
Ilias Tsitsimpis [Sat, 24 Jan 2026 12:41:42 +0000 (14:41 +0200)]
ghc (9.10.3-3) unstable; urgency=medium

  * Do not pass --hash-unit-ids to hadrian (Closes: #1126311)

[dgit import unpatched ghc 9.10.3-3]

6 weeks agoImport ghc_9.10.3-3.debian.tar.xz
Ilias Tsitsimpis [Sat, 24 Jan 2026 12:41:42 +0000 (14:41 +0200)]
Import ghc_9.10.3-3.debian.tar.xz

[dgit import tarball ghc 9.10.3-3 ghc_9.10.3-3.debian.tar.xz]

5 months agoImport ghc_9.10.3.orig.tar.xz
Ilias Tsitsimpis [Sat, 27 Sep 2025 12:29:38 +0000 (15:29 +0300)]
Import ghc_9.10.3.orig.tar.xz

[dgit import orig ghc_9.10.3.orig.tar.xz]